package pojo;

/**
 * 商品分类
 * @author zjj
 */
public class Category {
    private int id;
    private String category;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Category(){}

    public Category(int id,String str){
        this.id=id;
        this.category=str;
    }
    @Override
    public String toString() {
        return "Category{" +
                "id='" + id + '\'' +
                ", category='" + category + '\'' +
                '}';
    }
}
